<h1>Listado de Valores</h1>
<table>
  <tr>
    <th>Alternate Id</th>
    <th>Valor</th>
    <th>Esta Activo</th>
    <th>Parent Id</th>
  </tr>
  <% @instances.each do |e| %>
    <tr>
      <td><%=h e.alternate_id %></td>
      <td><%=h e.valor %></td>
      <td><%=h e.esta_activo %></td>
      <td><%=h e.parent_value_id %></td>
      <td><%= link_to 'Editar', :action => 'edit', :id => e %></td>
    </tr>
  <% end %>
</table>

<%= will_paginate @instances %>
<br />
<%= link_to 'Nuevo valor', :action => 'new', :id => params[:id] %> |
<%= link_to 'Regresar', :controller => '/catalogo' %>